package com.wealth.cart.enums;


public enum CartStatusEnum {
	
	del(0,"删除"),NORMAL(1,"正常"),SELECT(2,"选中");
	
	private int value;
	private String comment;
	private CartStatusEnum(int value,String comment){
		this.value = value;
		this.comment =comment;
	}
	
	public int getValue(){
		return value;
		
	}
	public String getComment(){
		return comment;
	}
	public static CartStatusEnum get(int value){
		for (CartStatusEnum o:CartStatusEnum.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}
}
